update [$BoxTable]
set leaf=power(2,stage-1)+leaf
alter table [$BoxTable]
drop column stage
CREATE UNIQUE CLUSTERED INDEX [IX_$BoxTable_Clustered] ON [$BoxTable]
(
	[leaf] ASC
)WITH (PAD_INDEX  = OFF, STATISTICS_NORECOMPUTE  = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS  = ON, ALLOW_PAGE_LOCKS  = ON) ON [PRIMARY]

